import App from './App'

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
// 导入vue-vuetify组件库
import tmVuetify from "./tm-vuetify";
import {hidePageNav} from './utils/dealWith'
Vue.use(tmVuetify)
// 微信浏览器打开隐藏导航，挂载原型
Vue.prototype.$NavHide = hidePageNav
// 自定义全局组件
import Tabbar from 'components/Tabbar.vue'
Vue.component('tab-bar',Tabbar)
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif